Extending range queries and nearest neighbors
نویسندگان
چکیده
Given an initial rectangular range or k nearest neighbor (k-nn) query (using the L1 metric), we consider the problems of incrementally extending the query by increasing the size of the range, or by increasing k, and reporting the new points incorporated by each extension. Although both problems may be solved trivially by repeatedly applying a traditional range query or L1 k-nn algorithm, such solutions do not minimize the overall time to process all extensions. We present algorithms that obtain e cient overall query times by performing novel searches of multiple range trees and extending k-nn trees, a new data structure introduced here. In two dimensions, when queries eventually incorporate (N) points or require E = (N) extensions, the overall retrieval time of our algorithms is O(E + N), which is optimal. Our extending L1 k-nn algorithm immediately provides a new solution to the traditional L1 k-nn problem, improving upon previous results. Our search techniques and data structures generalize to algorithms for extending xed polytope range queries and extending k-nn using polytope distance functions. In two dimensions, under the same conditions as above, these algorithms also have optimal overall extension time.
منابع مشابه
An Efficient Technique for Nearest-Neighbor Query Processing on the SPY-TEC
—The SPY-TEC (Spherical Pyramid-Technique) was proposed as a new indexing method for high-dimensional data spaces using a special partitioning strategy that divides a d-dimensional data space into 2d spherical pyramids. In the SPY-TEC, an efficient algorithm for processing hyperspherical range queries was introduced with a special partitioning strategy. However, the technique for processing k-n...
متن کاملInverse Queries for Multidimensional Spaces
Traditional spatial queries return, for a given query object q, all database objects that satisfy a given predicate, such as epsilon range and k-nearest neighbors. This paper defines and studies inverse spatial queries, which, given a subset of database objects Q and a query predicate, return all objects which, if used as query objects with the predicate, contain Q in their result. We first sho...
متن کاملRestricted Continuous KNN Queries on Road Networks with Caching Enhancement
Using a Global Positioning System (GPS) in the car navigation system enables the driver to perform a wide range of queries, from locating the car position, to finding a route from a source to a destination, or dynamically selecting the best route in real time. With spatial network databases (SNDB), objects are restricted to move on pre-defined paths (e.g., roads) that are specified by an underl...
متن کاملEfficient k Nearest Neighbor Queries on Remote Spatial Databases Using Range Estimation (Draft Version)
K-Nearest Neighbor (k-NN) queries are used in GIS and CAD/CAM applications to find the k spatial objects closest to some given query points. Most previous k-NN research has assumed that the spatial databases to be queried are local, and that the query processing algorithms have direct access to their spatial indices, e.g. R-trees. Clearly, this assumption does not hold when k-NN queries are dir...
متن کاملEfficient k Nearest Neighbor Queries on Remote Spatial Databases Using Range Estimation
K-Nearest Neighbor (k-NN) queries are used in GIS and CAD/CAM applications to find the k spatial objects closest to some given query points. Most previous k-NN research has assumed that the spatial databases to be queried are local, and that the query processing algorithms have direct access to their spatial indices; e.g., R-trees. Clearly, this assumption does not hold when k-NN queries are di...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Comput. Geom.
دوره 17 شماره
صفحات -
تاریخ انتشار 2000